$OpenBSD: patch-src_ui_pixbuf_save_c,v 1.1 2011/07/08 20:38:01 naddy Exp $

Fix build with png-1.5.

--- src/ui_pixbuf_save.c.orig	Tue Jul  5 23:51:13 2011
+++ src/ui_pixbuf_save.c	Tue Jul  5 23:51:48 2011
@@ -86,7 +86,7 @@ gboolean pixbuf_to_file_as_png (GdkPixbuf *pixbuf, cha
 	    	return FALSE;
 		}
 
-	if (setjmp (png_ptr->jmpbuf))
+	if (setjmp (png_jmpbuf (png_ptr)))
 		{
 		png_destroy_write_struct (&png_ptr, &info_ptr);
 		fclose (handle);
